package cn.hairui.blog.service;

import cn.hairui.blog.entity.Messagereply;
import cn.hairui.blog.dao.MessagereplyMapper;
import cn.hairui.blog.service.MessagereplyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 留言回复表 服务实现类
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-20
 */
@Service
public class MessagereplyServiceImpl extends ServiceImpl<MessagereplyMapper, Messagereply> implements MessagereplyService {

    @Autowired
    private MessagereplyMapper messagereplyMapper;

    @Override
    public List<Map> selectByMsgId(int msgId) {
        return messagereplyMapper.selectByMsgId(msgId);
    }
}
